package dymnd.plugin;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.geom.Rectangle2D;

import javax.swing.ImageIcon;

import dymnd.image.Layer;
import dymnd.net.Packet;

public abstract class PaintPlugin extends Plugin{
	
	
	public abstract ImageIcon getIcon();
	
	public abstract Container getToolbar(Dimension d);
	
	public abstract String getTooltip();
	
	
	//set to return Rectangle, which will be the bounds of where any painting occurred. 
	public abstract Packet onEvent(Packet p, Layer l, Layer scratchLayer);
	
	public abstract char getKeyChar();
	
	public abstract boolean usingDefaultCursor();
	
}


